import Vue from 'vue'
import App from './App'
import VueI18n from 'vue-i18n'  
import store from './store'

Vue.use(VueI18n)  
Vue.prototype._i18n = i18n 
Vue.prototype.$store = store
Vue.config.productionTip = false

const i18n = new VueI18n({  
  locale: 'en-US',  
  messages: {  
    'en-US': {  
      index: {  
        invite: 'Invite',  
        game: 'Game'  
      }  
    },  
    'zh-CN': {  
      index: {  
        invite: '邀请',  
        game: '游戏'  
      }  
    }  
  }  
})  

App.mpType = 'app'

const app = new Vue({
    ...App,
	store,
	i18n
})
app.$mount()
